package com.mall.file;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * @author Darren
 * @date 2022-08-18 15:18
 * Description：因为没有用到数据库，需要排除数据库自动配置
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class,
        DruidDataSourceAutoConfigure.class})
public class MallFileServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(MallFileServiceApplication.class, args);
    }
}
